//
//  UIButton+Extension.swift
//  WEIBO_SWIFT
//
//  Created by 岳挺 on 15/7/5.
//  Copyright © 2015年 yueting. All rights reserved.
//

import UIKit
extension UIButton {
    convenience init(title : String, image : String ,font : CGFloat){

        self.init()
        
        setImage(UIImage(named: image), forState: UIControlState.Normal)
        setTitle(title, forState: UIControlState.Normal)
        titleLabel?.font = UIFont.systemFontOfSize(font)
        setTitleColor(UIColor.lightGrayColor(), forState: UIControlState.Normal)
    }
}
